package com.nanjia.boot.invoicetypeconfig.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 发票类型表单对象
 *
 * @author zhouyang
 * @since 2025-06-13 10:11
 */
@Getter
@Setter
@Schema(description = "发票类型表单对象")
public class InvoiceTypeForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "不能为空")
    @Size(max=100, message="长度不能超过100个字符")
    private String invoiceTypeName;

    @Schema(description = "0：停止，1：正常：2：待审核，-1：已删除")
    @NotNull(message = "0：停止，1：正常：2：待审核，-1：已删除不能为空")
    private Integer invoiceTypeStatus;


}
